//
// Created by 123 on 2024/12/30.
//
#include "iostream"
using namespace std;

struct Adress{
    string country;
    string city;
};
struct Student{
    string name;
    int age;
    Adress adress;
};

int main037(){
    Student student;
    student.name = "zhansgan";
    student.age = 18;
    student.adress.country = "china";
    student.adress.city = "anhui";
    cout << student.name << endl;
    cout << student.age << endl;
    cout << student.adress.country << endl;
    cout << student.adress.city << endl;
    cout << "==================================" << endl;
    Adress adress = {"USA","CANIFONIA"};
    student.adress = adress;
    cout << student.adress.country << endl;
    cout << student.adress.city << endl;
    return 0;
}